package leetcode.other;

import leetcode.other.comon.OtherUtils;

/**
 * AC
 */
class Solution1822 {
    public int arraySign(int[] nums) {

        return OtherUtils.arraySign(nums);

    }
}

public class leetcode1822 {

    public static void main(String[] args) {

        int[] nums = {-1, -2, -3, -4, 3, 2, 1};
        int[] nums2 = {1, 5, 0, 2, -3};
        int[] nums3 = {-1, 1, -1, 1, -1};

        Solution1822 solution1822 = new Solution1822();

        System.out.println(solution1822.arraySign(nums));
        System.out.println(solution1822.arraySign(nums2));
        System.out.println(solution1822.arraySign(nums3));
    }
}
